<?php

namespace App\Models;

use App\Library\Models\Entity;

class MessageModel extends Entity
{
    protected $table = 'message';
    
    protected $casts = ['extend' => 'json'];

    protected $fillable = [
        'id',
        'send_id',
        'accept_id',
        'kefu_id',
        'status',
        'file_id',
        'content',
        'object_type',
        'object_id',
        'extend',
        'created_at',
        'updated_at'
    ];
}
